<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:f="http://java.sun.com/jsf/core">
   
                            <p:panel header="Main project">

                                <h:messages errorClass="error"/>

                                <h:panelGrid columns="2" columnClasses="label, value" styleClass="grid">
                                    <h:outputText value="Main Project: *" />
                                    <h:selectOneListbox  id="mainPrjIDTxt"
                                                      value="#{generateWizardBean.selectedMainProjectTable.ID}"
                                                      required="false"
                                                      rendered="true"
                                                      requiredMessage="MainPrjID is Mandatory">
                                        <f:selectItems value="#{attributesPropertiesBean.mainProjectList}"/>
                                    </h:selectOneListbox>

                                </h:panelGrid>
                            </p:panel>
</html>